package com.lantosec.hmrp.modules.workflow.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.flowable.engine.repository.Deployment;

import java.util.Date;

@Data
public class FlowDeploymentVO {

 /* public FlowDeploymentVO(Deployment entity){
      id = entity.getId();
      name = entity.getName();
      key = entity.getKey();
      category = entity.getCategory();
      //deployTime = entity.getDeploymentTime();
      tenantId = entity.getTenantId();
      parentDeploymentId = entity.getParentDeploymentId();
  }
*/
  @ApiModelProperty(value = "流程部署的Id")
  private String id;
  @ApiModelProperty(value = "流程定义的Id")
  private String procdefId;
  private String name;
  private String category;
  private String key;
  private String tenantId;
  private Date deployTime;
  private String derivedFrom;
  private String derivedFromRoot;
  private String parentDeploymentId;
  private String engineVersion;
  //流程对应的表单信息
 private String tableId;
 private String tableName;
 private String tableComment;
}
